package com.chengshuang.log.enums;

/**
 * 操作类型枚举
 */
public enum OperationLogTypeEnum {

    /**
     * 添加任务
     */
    TASK_ADD(1, "添加任务"),

    /**
     * 修改任务
     */
    TASK_UPDATE(2, "修改任务");

    private final Integer type;
    private final String name;

    OperationLogTypeEnum(Integer type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public String getName() {
        return name;
    }
}
